package motorized;

class electric extends motorized{
    String electricity="80%";
    public electric(){
        this.colour = "绿色";
        this.trademark = "爱玛";
    }

    void shao(){
        System.out.println("该车为电动车，车子的颜色是"+colour +"，该车的品牌是"+trademark+",该车的电量应该还有"+electricity+"。");
    }
}
